﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommandModel
{
    public class ConcreteCommand : Command
    {
        Receiver _Receiver { get; set; }
        public ConcreteCommand(Receiver receiver)
        {
            this._Receiver = receiver;
        }
        public override void Execute()
        {
            _Receiver.DoWork();
        }
    }
}
